package com.bf.electroplating.pojo.vo.exhaustGasWarningConfig;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import java.math.BigDecimal;

/**
 * 废气处理设施监控预警设置更新DTO
 */
@Data
@Schema(description = "废气处理设施监控预警设置更新DTO")
public class ExhaustGasWarningConfigUpdateDTO {

    @Schema(description = "ID", required = true)
    @NotBlank(message = "ID不能为空")
    private String id;

    @Schema(description = "企业ID")
    private String companyId;

    @Schema(description = "企业名称")
    private String companyName;

    @Schema(description = "园区ID")
    private String parkId;

    @Schema(description = "园区名称")
    private String parkName;

    @Schema(description = "设备ID")
    private String deviceId;

    @Schema(description = "设备名称")
    private String deviceName;

    @Schema(description = "设备编号")
    private String deviceCode;

    @Schema(description = "检测因子（如：SO2、NOx、PM10、VOCs等）")
    private String monitoringFactor;

    @Schema(description = "因子单位")
    private String factorUnit;

    @Schema(description = "上限阈值")
    private BigDecimal upperThreshold;

    @Schema(description = "下限阈值")
    private BigDecimal lowerThreshold;

    @Schema(description = "预警级别（1：一级预警，2：二级预警，3：三级预警）")
    private String warningLevel;

    @Schema(description = "是否启用（1：启用，0：停用）")
    private String isEnabled;

    @Schema(description = "监控频率（分钟）")
    private Integer monitoringFrequency;

    @Schema(description = "数据来源")
    private String dataSource;

    @Schema(description = "备注")
    private String remark;
}
